-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add cache_dir parameter #863
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And you should choose which one you want to merge. #864 or this?
Feel free to delete the other pull request, although I do think that one is superior. |
Well, you can edit them to resolve the conflict and I will still review it. |
Currently, it's the program only allows you to use "huggingface," "local," or "custom" but none allow you to specify a directory where you want to download a file automatically using ```snapshot_download." This fixes that.
This pull request implements the following:
Here's a brief summary of the different options for handling model files in ChatTTS:
source="huggingface"
: Downloads models from HuggingFace repo to ~/.cache/huggingfacesource="local"
: Downloads models from HuggingFace repo to current working directorysource="custom"
:Example Usage: